<% form_remote_for(:req, @req, :url => { :action => "create" }, :loading=>"$('loading').show()", :complete=>"$('loading').hide()", :html=>{:id=>'add_form'}) do |f| %>
  <%= render(:partial => f, :locals=>{:father_id=>father_id}) %>
  <label>&nbsp;</label><%= submit_tag 'Create' %>
  <%= link_to_function('Cancel','if(confirm("Sure ?")) $("new").update("")', {:class=>"button"}) %>
<% end %>

